package com.itlong.cloud.POJO.PO;

import com.itlong.cloud.annotation.ItlField;
import com.itlong.cloud.annotation.ItlTables;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;


/**
 *
 * <desc>
 *      云电梯-响应硬件变更结果
 * </desc>
 *
 * @createDate 2018/04/03
 */
@ItlTables("push_cloud_elevator_change_log")
@Data
@NoArgsConstructor()
@EqualsAndHashCode(callSuper=true)
public class PushCloudElevatorChangeLogPO extends BasePO implements Serializable,Cloneable {

    @ItlField(value = "command_id",notNull = "false")
    private String commandId;                 //命令id

    @ItlField(value = "device_unique",notNull = "false")
    private String deviceUnique;             //设备序列号

    @ItlField("sn")
    private String sn;                       //sn

    @ItlField("command_type")
    private Integer commandType;             //变更业务类型,1-项目信息、2-固定密码信息、3-全量更新

    @ItlField("command_data")
    private String commandData;              //变更数据结果

    @ItlField("command_status")
    private Integer commandStatus;           //命令处理状态：0-待处理，1-处理中，2-处理完

    @ItlField("upgrade_time")
    private String upgradeTime;           //设备更新时间

    private String version;        //版本号发送iot时使用

    private Integer iotFlag;    //项目切换阿里云iot 华为云iot使用

    @Override
    public Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}